<template>
    <div>
        <h1>这是组件中的一段文字</h1>
        <mt-button type="primary" @click="submit()">点击提交</mt-button>

        <router-link to="/login">登录</router-link>
        <router-link to="/register">注册</router-link>
        <router-view></router-view>
    </div>
</template>    

<style>
    h1{
        color:red;
    }
</style>


<script>
    
</script>
